package com.carpart.bean;

public class CarPart {
	private String year = "";
	private String model = "";
	private String part = "";
	private String area = "";
	private String postcode = "";
	private String style = "";
	private String yearPartModel = "";
	private String price = "";
	private String distMile = "";
	private String description = "";
	private String dealer = "";
	private String grade = "";
	private String stock = "";
	
	public CarPart() {}

	public String getYear() {
		return year;
	}

	public void setYear(String year) {
		this.year = year;
	}

	public String getModel() {
		return model;
	}

	public void setModel(String model) {
		this.model = model;
	}

	public String getPart() {
		return part;
	}

	public void setPart(String part) {
		this.part = part;
	}

	public String getArea() {
		return area;
	}

	public void setArea(String area) {
		this.area = area;
	}

	public String getPostcode() {
		return postcode;
	}

	public void setPostcode(String postcode) {
		this.postcode = postcode;
	}

	public String getStyle() {
		return style;
	}

	public void setStyle(String style) {
		this.style = style;
	}

	public String getYearPartModel() {
		return yearPartModel;
	}

	public void setYearPartModel(String yearPartModel) {
		this.yearPartModel = yearPartModel;
	}

	public String getPrice() {
		return price;
	}

	public void setPrice(String price) {
		this.price = price;
	}

	public String getDistMile() {
		return distMile;
	}

	public void setDistMile(String distMile) {
		this.distMile = distMile;
	}

	public String getDescription() {
		return description;
	}

	public void setDescription(String description) {
		this.description = description;
	}

	public String getDealer() {
		return dealer;
	}

	public void setDealer(String dealer) {
		this.dealer = dealer;
	}

	public String getGrade() {
		return grade;
	}

	public void setGrade(String grade) {
		this.grade = grade;
	}

	public String getStock() {
		return stock;
	}

	public void setStock(String stock) {
		this.stock = stock;
	}
	
	@Override
	public String toString() {
		StringBuffer sb = new StringBuffer();
		sb.append("year:" + year);
		sb.append(", model:" + model);
		sb.append(", part:" + part);
		sb.append(", area:" + area);
		sb.append(", postcode:" + postcode);
		sb.append(", style:" + style);
		sb.append(", yearPartModel:" + yearPartModel);
		sb.append(", price:" + price);
		sb.append(", distMile:" + distMile);
		sb.append(", description:" + description);
		sb.append(", dealer:" + dealer);
		sb.append(", grade:" + grade);
		sb.append(", stock:" + stock);
		
		return sb.toString();
	}
	
}
